package com.pricetag.iqengine;

import java.io.File;

import android.util.Log;

public class IQEngineResultHandler implements IOnResultCallback {

	@Override
	public void onQueryIdAssigned(String queryId, String pathName, int callType) {						
		IQEngineResultStore.addQueryID(queryId, pathName);	
		Log.d("IQonQuery", queryId);
	}

	@Override
	public void onResult(String queryId, String objId, String objName,
			String objMeta, int Engine, int callType) {
		IQEngineResultStore.putResult(queryId, objName);		
		Log.d("IQonResult", objName);
	}

	@Override
	public void onNoResult(int callType, Exception e, File imgFile) {		
		Log.w("IQonNoResult", e.getMessage());
	}

}
